package hm.entity;

import java.io.Serializable;
import java.util.Date;


/**
 * @author Administrator
 *
 */
public class AbstractEntity implements Serializable, IUUIDEntity {

	private static final long serialVersionUID = 6102538076480243276L;

	protected String id;
	protected String name;
	private Date createTime;

	
	@Override
	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String getId() {
		return this.id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "AbstractEntity [id=" + id + ", name=" + name + "]";
	}

}
